home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / gd25s.zip / INSTALL < prev    next >
Text File  |  1993-10-08  |  5KB  |  119 lines

  1.    This is a generic INSTALL file for utilities distributions.
  2. If this package does not come with, e.g., installable documentation or
  3. data files, please ignore the references to them below.
  4.  
  5.    The `configure' shell script attempts to guess correct values for
  6. various system-dependent variables used during compilation, and
  7. creates the Makefile(s) (one in each subdirectory of the source
  8. directory).  In some packages it creates a C header file containing
  9. system-dependent definitions.  It also creates a file `config.status'
  10. that you can run in the future to recreate the current configuration.
  11.  
  12. To compile this package:
  13.  
  14. 1.  Configure the package for your system.
  15.  
  16.    Normally, you just `cd' to the directory containing the package's
  17. source code and type `./configure'.  If you're using `csh' on an old
  18. version of System V, you might need to type `sh configure' instead to
  19. prevent `csh' from trying to execute `configure' itself.
  20.  
  21.    Running `configure' takes a minute or two.  While it is running, it
  22. prints some messages that tell what it is doing.  If you don't want to
  23. see the messages, run `configure' with its standard output redirected
  24. to `/dev/null'; for example, `./configure >/dev/null'.
  25.  
  26.    To compile the package in a different directory from the one
  27. containing the source code, you must use a version of `make' that
  28. supports the `VPATH' variable, such as GNU `make'.  `cd' to the
  29. directory where you want the object files and executables to go and run
  30. the `configure' script.  `configure' automatically checks for the
  31. source code in the directory that `configure' is in and in `..'.  If
  32. for some reason `configure' is not in the source code directory that
  33. you are configuring, then it will report that it can't find the source
  34. code.  In that case, run `configure' with the option `--srcdir=DIR',
  35. where DIR is the directory that contains the source code.
  36.  
  37.    By default, `make install' will install the package's files in
  38. `/usr/local/bin', `/usr/local/man', etc.  You can specify an
  39. installation prefix other than `/usr/local' by giving `configure' the
  40. option `--prefix=PATH'.  Alternately, you can do so by consistently
  41. giving a value for the `prefix' variable when you run `make', e.g.,
  42.      make prefix=/usr/gnu
  43.      make prefix=/usr/gnu install
  44.  
  45.    You can specify separate installation prefixes for
  46. architecture-specific files and architecture-independent files.  If you
  47. give `configure' the option `--exec-prefix=PATH' or set the `make'
  48. variable `exec_prefix' to PATH, the package will use PATH as the prefix
  49. for installing programs and libraries.  Data files and documentation
  50. will still use the regular prefix.  Normally, all files are installed
  51. using the same prefix.
  52.  
  53.    Some packages pay attention to `--with-PACKAGE' options to
  54. `configure', where PACKAGE is something like `gnu-as' or `x' (for the X
  55. Window System).  The README should mention any `--with-' options that
  56. the package recognizes.
  57.  
  58.    `configure' ignores any other arguments that you give it.
  59.  
  60.    On systems that require unusual options for compilation or linking
  61. that the package's `configure' script does not know about, you can give
  62. `configure' initial values for variables by setting them in the
  63. environment.  In Bourne-compatible shells, you can do that on the
  64. command line like this:
  65.  
  66.      CC='gcc -traditional' LIBS=-lposix ./configure
  67.  
  68.    Here are the `make' variables that you might want to override with
  69. environment variables when running `configure'.
  70.  
  71.    For these variables, any value given in the environment overrides the
  72. value that `configure' would choose:
  73.  
  74.  - Variable: CC
  75.      C compiler program.  The default is `cc'.
  76.  
  77.  - Variable: INSTALL
  78.      Program to use to install files.  The default is `install' if you
  79.      have it, `cp' otherwise.
  80.  
  81.    For these variables, any value given in the environment is added to
  82. the value that `configure' chooses:
  83.  
  84.  - Variable: DEFS
  85.      Configuration options, in the form `-Dfoo -Dbar...'.  Do not use
  86.      this variable in packages that create a configuration header file.
  87.  
  88.  - Variable: LIBS
  89.      Libraries to link with, in the form `-lfoo -lbar...'.
  90.  
  91.    If you need to do unusual things to compile the package, we encourage
  92. you to figure out how `configure' could check whether to do them, and
  93. mail diffs or instructions to the address given in the README so we
  94. can include them in the next release.
  95.  
  96. 2.  Type `make' to compile the package.  If you want, you can override
  97. the `make' variables CFLAGS and LDFLAGS like this:
  98.  
  99.     make CFLAGS=-O2 LDFLAGS=-s
  100.  
  101. 3.  If the package comes with self-tests and you want to run them,
  102. type `make check'.  If you're not sure whether there are any, try it;
  103. if `make' responds with something like
  104.     make: *** No way to make target `check'.  Stop.
  105. then the package does not come with self-tests.
  106.  
  107. 4.  Type `make install' to install programs, data files, and
  108. documentation.
  109.  
  110. 5.  You can remove the program binaries and object files from the
  111. source directory by typing `make clean'.  To also remove the
  112. Makefile(s), the header file containing system-dependent definitions
  113. (if the package uses one), and `config.status' (all the files that
  114. `configure' created), type `make distclean'.
  115.  
  116.    The file `configure.in' is used to create `configure' by a program
  117. called `autoconf'.  You only need it if you want to regenerate
  118. `configure' using a newer version of `autoconf'.
  119.